package com.ssl.spring.security.service.impl;

import com.ssl.spring.security.entity.Permission;
import com.ssl.spring.security.mapper.PermissionMapper;
import com.ssl.spring.security.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 权限 服务实现类
 * </p>
 *
 * @author ssl
 * @since 2021-04-27
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
    /**
     * 根据用户ID查找用户拥有的权限名称集合
     *
     * @param userId
     * @return
     */
    @Override
    public List<String> getPermissionValueByUserId(String userId) {
        // todo
        return null;
    }
}
